package com.kun.music.dao;

import com.kun.music.domain.Song;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface SongMapper {

    List<Song> allSong();

    List<Song> getSongOfId(int id);

    List<Song> getSongOfSingerId(int id);

    int updateSongMsg(Song song);

    int deleteSong(int id);

    List<Song> getSongByName(String name);
}